//
//  KAddressRequest.m
//  Peanut
//
//  Created by Jim huang on 2018/7/4.
//  Copyright © 2018年 Jim_Peanut. All rights reserved.
//

#import "KAddressRequest.h"

@implementation KAddressRequest

/**
 获取省市列表
 
 @param dept 深度
 @param parentId 父id
 */

-(instancetype)initGetProvinceCityListWithDept:(NSString *)dept parentId:(NSString *)parentId{
    if (self = [super initGETWithRequestUrl:@"api/biz/gl/v1/cates/lists.htm"]) {

        [self.paramsDic setValue:dept forKey:@"dept"];
        [self.paramsDic setValue:parentId forKey:@"parentId"];
        [self.paramsDic setValue:@"CityCate" forKey:@"typeKey"];

    }
    
    return self;
}
@end
